package com.ychen.usercenter.api;

import com.ychen.usercenter.vo.UserInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(name = "user-center", contextId = "user")
public interface UserInfoFacade {
    @RequestMapping(value = "/getUserInfo/ByUserId")
    UserInfoVo getUserInfoByUserId(@RequestParam Long userId);
}
